﻿using System.ComponentModel;
using WhereAmiMvc.Dbs;

namespace WhereAmiMvc.Entities
{
    public class Locations
    {
        [DisplayName("位置编号")]
        public string IdLoacations { get; set; }

        [DisplayName("位置名称")]
        public string LocationName { get; set; }

        [DisplayName("地址")]
        public string Address { get; set; }

        [DisplayName("符号")]
        public string Fh { get; set; }
    }

    public class LocationsBll : DBCommon<Locations>
    {
        public override string TableName
        {
            get { return "Locations"; }
        }

        public override string PrimaryKey
        {
            get { return "IdLoacations"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}